<?php
/**
 * Created by PhpStorm.
 * User: zhangxilu
 * Date: 2017/12/20
 * Time: 下午9:56
 */

namespace frontend\modules\v1\controllers;


use common\logic\HouseLogic;
use common\logic\AdvertLogic;
use frontend\common\ApiController;

class AdvertController extends ApiController
{
	/**
     * 广告图片
     * @return \yii\web\Response
     */
    public function actionGetPcAdv(){
    	$atp = \Yii::$app->request->get('atype');
        return $this->success(AdvertLogic::instance()->getPcAdv($atp));
    }
	
	public function actionGetAdvCity(){
		exit('aaaddbb');
    }
}

?>